import { axios } from '@/utils/request'

const api = {
  getOrderList: '/mch/order/list',
  setSellerComments: '/mch/order/seller-comments'
}

export default api

export function getOrderList (parameter) {
  return axios({
    url: api.getOrderList,
    method: 'get',
    params: parameter
  })
}

export function setComments (parameter) {
  return axios({
    url: api.setSellerComments,
    method: 'get',
    params: parameter
  })
}
